package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 购物车
 */
public class TbShoppingCart implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Integer id;
    /**
     * 商品ID
     */
    private Integer commodityid;
    /**
     * 商品名称
     */
    private String commodityname;
    /**
     * 商品数量
     */
    private Integer commoditynumber;
    /**
     * 选择参数
     */
    private String selected;
    /**
     * 购物时间
     */
    private Date shoppingtime;
    /**
     * 状态 0:存在 1: 已购买
     */
    private Boolean status;
    /**
     * 用户uid
     */
    private String uid;

    /**
     * 运费
     */
    private Float freight;

    /**
     * 普通价格
     */
    private Float price;
    /**
     * 会员价
     */
    private Float pricediscounts;

    /**
     * 商品图片
     */
    private String commoditypic;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public String getCommodityname() {
        return commodityname;
    }

    public void setCommodityname(String commodityname) {
        this.commodityname = commodityname == null ? null : commodityname.trim();
    }

    public Integer getCommoditynumber() {
        return commoditynumber;
    }

    public void setCommoditynumber(Integer commoditynumber) {
        this.commoditynumber = commoditynumber;
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected == null ? null : selected.trim();
    }

    public Date getShoppingtime() {
        return shoppingtime;
    }

    public void setShoppingtime(Date shoppingtime) {
        this.shoppingtime = shoppingtime;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public Float getFreight() {
        return freight;
    }

    public void setFreight(Float freight) {
        this.freight = freight;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Float getPricediscounts() {
        return pricediscounts;
    }

    public void setPricediscounts(Float pricediscounts) {
        this.pricediscounts = pricediscounts;
    }

    public String getCommoditypic() {
        return commoditypic;
    }

    public void setCommoditypic(String commoditypic) {
        this.commoditypic = commoditypic;
    }
}